package cn.wzx.service;

import cn.wzx.entity.OrdInfo;
import cn.wzx.entity.OrdItem;
import cn.wzx.entity.Order;
import cn.wzx.entity.OrderLine;

import java.util.List;
import java.util.Map;

public interface OrderService {
    public List<Map<String, Object>> findItemInfoByOrdid(Integer ordid);
    public void addCart2Order(Order order, List<OrdItem> items);
    public void addAddr(Order order);
    public void addPay(Order order);
    public Order findOrderById(Integer id);
    public OrdInfo findInfoByOrdid(Integer uid, Integer ordid);
    public List<OrderLine> findOrdLines(Map map);
    public int count(Map map);
    public void addShip(Order order);
}
